package java2_unit6_1020.test2;
//电脑类
public abstract class Computer {
	//属性
	private String  cpu;
	private String memory;
	private String inputDevice;
	private String outputDevice;
	private String brand;
	
	public String getCpu() {
		return cpu;
	}
	public void setCpu(String cpu) {
		this.cpu = cpu;
	}
	public String getMemory() {
		return memory;
	}
	public void setMemory(String memory) {
		this.memory = memory;
	}
	public String getInputDevice() {
		return inputDevice;
	}
	public void setInputDevice(String inputDevice) {
		this.inputDevice = inputDevice;
	}
	public String getOutputDevice() {
		return outputDevice;
	}
	public void setOutputDevice(String outputDevice) {
		this.outputDevice = outputDevice;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	//构造无参方法
	public Computer() {
		super();
	}
	//构造有参构造方法
	public Computer(String cpu, String memory, String inputDevice, String outputDevice, String brand) {
		super();
		this.cpu = cpu;
		this.memory = memory;
		this.inputDevice = inputDevice;
		this.outputDevice = outputDevice;
		this.brand = brand;
	}
	//成员方法
	public abstract void dataProgress();//数据处理
	public abstract void dataStore();//数据存储
	public abstract void dataTransmiss();//数据传输
	public abstract void programmControl();//程序控制
	
	
	
	
	
}
